﻿using System;
using System.Collections.Generic;
using System.Collections.Concurrent;
using System.Linq;
using System.Text;
using KinSocket;

namespace KinConquer.Packets
{
    public unsafe class Delegates
    {
        public delegate void HandlePacketDelegate(Byte* Data, KinSocket.Connection client);
        public static Dictionary<UInt16, HandlePacketDelegate> PacketHandles =
            new Dictionary<UInt16, HandlePacketDelegate>()
            {
                { 1052, Handles.GameConnect.Handle },
                { 1001, Handles.NewHero.Handle },
                { 10010, Handles.GeneralData.Handle },
                { 1009, Handles.ItemUsage.Handle },
                { 10005, Handles.Movement.Handle },
            };

        public static List<UInt16> IgnorePackets =
            new List<UInt16>()
            {
                1134,
            };
    }
}
